{% if user %}
  {{ user.username }}'s Bank information <br/>
	<form name="bankAccountHandler" id="bankForm"  method="post" action="/member/merchant/bank/action/update/">
	<label for="bankName">Bank Name:</label> 
	<input id="bankName" name="bankName" value="{{bank.bank_name}}"> <br/>
	<label for="holderName">Holder Name:</label> 
	<input id="holderName" name="holderName" value="{{bank.holder_name}}"> <br/>
	<label for="accountNumber">Account number:</label> 
	<input id="accountNumber" name="accountNumber" value="{{bank.account_number}}"> <br/>
	{% for key, value in account_type.choices.items %}
	    <label for="accountType">{{value}}</label> 
	    {% if key == bank.account_type %}
			<input id="accountType" type="radio" name="accountType" checked value="{{key}}"> <br/>
		{% else %}
			<input id="accountType" type="radio" name="accountType" value="{{key}}"> <br/>
		{% endif %}
	{% endfor %}
	<label for="swift">Swift:</label> 
	<input id="swift" name="swift" value="{{bank.swift}}"> <br/>
	{% csrf_token %}
	{% if editable %}
		<input type="submit" value="save" id="submitButton">
	{% endif %}	
	</form>
	<br/>
	{% if editable %}
		<a href="/member/myAccount/"> Main page </a> <br/>
	{% endif %}	
{% if messages %}
    {% for message in messages %}
       {{ message }} <br/>
    {% endfor %}
{% endif %}
{% else %}
  <meta http-equiv="Refresh" content="/index">
{% endif %}